package com.yykj.pay.server.constant;

/**
 * @author chenl
 * @version 1.0
 * @date 2021/10/30 18:06
 */
public class Constant {

    public static final String APPID="wxe7340e72dc7617d7";

    public static final String APP_SECRET="0124e14407675ae4a2f28ac37a72519d";

    /**默认*/
    public static final String GRANTTYPE = "authorization_code";

    /**根据code获取sessionKey和openId的url*/
    public static final String WX_CODE2OPENID_URL = "https://api.weixin.qq.com/sns/jscode2session";
    /**获取access_token*/
    public static final String ACCESS_TOKEN  = "https://api.weixin.qq.com/cgi-bin/token";
    /**获取二维码图片*/
    public static final String WXACODEUNLIMIT  = "https://api.weixin.qq.com/wxa/getwxacodeunlimit";

    public static final String SEND_TEMPLATE_MESSAGE = "https://api.weixin.qq.com/cgi-bin/message/wxopen/template/send?access_token=";

    public static final String HOST="https://idcardcert.market.alicloudapi.com";

    public static final String PATH = "/idCardCert";

    public static final String APPCODE="05825b0b8c0b481e8e39e0cb2aa799d9";

    /**
     设置超时时间10秒
     */
    public static final int TIMEOUT = 5*1000;

}
